package com.naiyumi.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.naiyumi.dao.LoginDao;
import com.naiyumi.model.UserInfo;
import com.naiyumi.service.LoginService;

@Service
public class LoginServiceImpl implements LoginService {
	@Resource
	private LoginDao loginDao;

	public UserInfo checkLogin(String loginName, String loginPassword) {
		return loginDao.checkLogin(loginName, loginPassword);//MD5Converte.MD5(pass)
	}
}